package org.aeon.message.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.aeon.constant.GroupDisplayType;
import org.aeon.entity.dto.ChatGroupDto;

import java.io.Serial;
import java.util.List;
import java.util.Map;

/**
 * @author: MissingAeon
 * @date: 2024/2/19 11:55
 * @description:
 */
@Getter
@Setter
@ToString
public class GroupsListResponseMessage extends ResponseMessage {
    @Serial
    private static final long serialVersionUID = 1896006903510209084L;
    private Map<GroupDisplayType, List<ChatGroupDto>> map;

    public void setMessage(Map<GroupDisplayType, List<ChatGroupDto>> map) {
        this.map = map;
    }

    @Override
    public int getMessageType() {
        return GroupsListResponseMessage;
    }
}
